package com;

public class Q1 {
    public static void main(String[] args) {
        double d=1.23;
        Dec dec=new Dec();
        dec.decrement(d);
        System.out.println(dec.a);

        Data data=new Data();
        data.str="i am string 1";
        dec.change(data);
        System.out.println(data.str);
        String str="11111";
        dec.changestr(str);
        System.out.println(str);
    }
}
